package com.framework.sog.vo;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

import com.framework.dbs.vo.BaseObject;

public class HpSogServiceVO extends BaseObject {
	private static final long serialVersionUID = 1L;
	/** identifier field */
    private String id;
    
    /** identifier field */
    private String serviceCode;
    
    /** identifier field */
    private String serviceName;
    
    /** identifier field */
    private String runStatus;
    
    /** identifier field */
    private String userCode;
    
    /** identifier field */
    private String userName;
    
    /** identifier field */
    private String loginId;
    
    /** identifier field */
    private String companyCode;
    
    /** identifier field */
    private String companyName;
    
    /** identifier field */
    private String ownerCompanyCode;
    
    /** identifier field */
    private String centerCode;
    
    /** identifier field */
    private String centerName;
    
    /** identifier field */
    private String sysFlag;
    
    /** identifier field */
    private String roleCode;
    
    /** identifier field */
    private String roleName;
    
    /** identifier field */
    private String startDate;
    
    /** identifier field */
    private String startTime;
    
    /** identifier field */
    private String endDate;
    
    /** identifier field */
    private String endTime;
    
    /** identifier field */
    private String remark;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getServiceCode() {
		return serviceCode;
	}

	public void setServiceCode(String serviceCode) {
		this.serviceCode = serviceCode;
	}

	public String getServiceName() {
		return serviceName;
	}

	public void setServiceName(String serviceName) {
		this.serviceName = serviceName;
	}

	public String getRunStatus() {
		return runStatus;
	}

	public void setRunStatus(String runStatus) {
		this.runStatus = runStatus;
	}

	public String getUserCode() {
		return userCode;
	}

	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getLoginId() {
		return loginId;
	}

	public void setLoginId(String loginId) {
		this.loginId = loginId;
	}

	public String getCompanyCode() {
		return companyCode;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getOwnerCompanyCode() {
		return ownerCompanyCode;
	}

	public void setOwnerCompanyCode(String ownerCompanyCode) {
		this.ownerCompanyCode = ownerCompanyCode;
	}

	public String getCenterCode() {
		return centerCode;
	}

	public void setCenterCode(String centerCode) {
		this.centerCode = centerCode;
	}

	public String getCenterName() {
		return centerName;
	}

	public void setCenterName(String centerName) {
		this.centerName = centerName;
	}

	public String getSysFlag() {
		return sysFlag;
	}

	public void setSysFlag(String sysFlag) {
		this.sysFlag = sysFlag;
	}

	public String getRoleCode() {
		return roleCode;
	}

	public void setRoleCode(String roleCode) {
		this.roleCode = roleCode;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getStartDate() {
		return startDate;
	}

	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public HpSogServiceVO(String id, String serviceCode, String serviceName,
			String runStatus, String userCode, String userName, String loginId,
			String companyCode, String companyName, String ownerCompanyCode,
			String centerCode, String centerName, String sysFlag,
			String roleCode, String roleName, String startDate,
			String startTime, String endDate, String endTime, String remark) {
		super();
		this.id = id;
		this.serviceCode = serviceCode;
		this.serviceName = serviceName;
		this.runStatus = runStatus;
		this.userCode = userCode;
		this.userName = userName;
		this.loginId = loginId;
		this.companyCode = companyCode;
		this.companyName = companyName;
		this.ownerCompanyCode = ownerCompanyCode;
		this.centerCode = centerCode;
		this.centerName = centerName;
		this.sysFlag = sysFlag;
		this.roleCode = roleCode;
		this.roleName = roleName;
		this.startDate = startDate;
		this.startTime = startTime;
		this.endDate = endDate;
		this.endTime = endTime;
		this.remark = remark;
	}

	/** default constructor */
    public HpSogServiceVO() {
    }

    /** minimal constructor */
    public HpSogServiceVO(String id) {
        this.id = id;
    }
	
	public String toString() {
        return new ToStringBuilder(this)
            .append("id", getId())
            .toString();
    }

    public boolean equals(Object other) {
        if ( (this == other ) ) return true;
        if ( !(other instanceof HpSogServiceVO) ) return false;
        HpSogServiceVO castOther = (HpSogServiceVO) other;
        return new EqualsBuilder()
            .append(this.getId(), castOther.getId())
            .isEquals();
    }

    public int hashCode() {
        return new HashCodeBuilder()
            .append(getId())
            .toHashCode();
    }


	@Override
	public String getSequenceName() {
		// TODO Auto-generated method stub
		return null;
	}
}
